package com.gsafety.wellsfort.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class StudyQuantityVO {
    @ApiModelProperty(value = "课程学习人数")
    private List<Integer> courseStudyList = new ArrayList<>();
    @ApiModelProperty(value = "作业人数")
    private List<Integer> workStudyList = new ArrayList<>();
    @ApiModelProperty(value = "考试人数")
    private List<Integer> examStudyList = new ArrayList<>();
    @ApiModelProperty(value = "日期")
    private List<String> dataList = new ArrayList<>();

    public void addCourseStudy(Integer courseStudyNum) {
        this.courseStudyList.add(courseStudyNum);
    }

    public void addWorkStudy(Integer workStudyNum) {
        this.workStudyList.add(workStudyNum);
    }

    public void addExamStudy(Integer examStudyNum) {
        this.examStudyList.add(examStudyNum);
    }

    public void addDate(String date) {
        this.dataList.add(date);
    }

}
